home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / networking / news / readers / rn / rn.4.4.patch.1 < prev    next >
Encoding:
Text File  |  1991-10-02  |  34.9 KB  |  1,311 lines

  1. This is rn 4.4 patch number 1.
  2.  
  3. Please note that rn 4.4 on lib.tmc.edu, gazette.bcm.tmc.edu, bcm.tmc.edu
  4. and tmc.edu have all been updated to rn 4.4.1 and have this patch installed.
  5.  
  6. Description:
  7.     1. The patchlevel file contains "beta11". Following this patch, it will
  8.     indicate that patch 1 has been sucessfully applied.
  9.     2. The man pages did not have the "cannonically" correct comment
  10.     macro for comments. 
  11.     3. Configure contained the unprintable control-A character. It now
  12.     used tr to create it when Configure is run.
  13.     4. Cnews does not guarentee that minimum message number listed in 
  14.     the active file is in fact the minimum. rn now compensates for this
  15.     problem.
  16.     5. The Makefile would strip rn even when it was not being installed.
  17.     6. The shell scripts that use the .newsrc file now obey the NEWSRC
  18.     environmental variable if present.
  19.  
  20. Install this patch using Larry Wall's patch program.
  21.  
  22.  
  23. *** patchlevel    Tue Oct  1 23:38:41 1991
  24. --- ../rn4.4.1/patchlevel    Wed Sep 18 08:09:22 1991
  25. ***************
  26. *** 1
  27. ! Patch: beta11
  28.  
  29. --- 1 -----
  30. ! Patch:  1
  31. Index: Configure
  32. Prereq: 4.4
  33. *** Configure    Tue Oct  1 23:38:40 1991
  34. --- ../rn4.4.1/Configure    Wed Sep 25 14:38:20 1991
  35. ***************
  36. *** 15,21
  37.   # If these # comments don't work, trim them.  Don't worry about the other
  38.   # shell scripts, Configure will trim # comments from them for you.
  39.   #
  40. ! # $Id: Configure,v 4.4 1991/09/09 20:18:23 sob Exp sob $
  41.   #
  42.   # $Log: Configure,v $
  43.   # Revision 4.4  1991/09/09  20:18:23  sob
  44.  
  45. --- 15,21 -----
  46.   # If these # comments don't work, trim them.  Don't worry about the other
  47.   # shell scripts, Configure will trim # comments from them for you.
  48.   #
  49. ! # $Id: Configure,v 4.4.1.1 1991/09/25 19:38:08 sob Exp sob $
  50.   #
  51.   # $Log: Configure,v $
  52.   # Revision 4.4.1.1  1991/09/25  19:38:08  sob
  53. ***************
  54. *** 18,23
  55.   # $Id: Configure,v 4.4 1991/09/09 20:18:23 sob Exp sob $
  56.   #
  57.   # $Log: Configure,v $
  58.   # Revision 4.4  1991/09/09  20:18:23  sob
  59.   # release 4.4
  60.   #
  61.  
  62. --- 18,26 -----
  63.   # $Id: Configure,v 4.4.1.1 1991/09/25 19:38:08 sob Exp sob $
  64.   #
  65.   # $Log: Configure,v $
  66. + # Revision 4.4.1.1  1991/09/25  19:38:08  sob
  67. + # various fixed
  68. + #
  69.   # Revision 4.4  1991/09/09  20:18:23  sob
  70.   # release 4.4
  71.   #
  72. ***************
  73. *** 25,31
  74.   
  75.   # Yes, you may rip this off to use in other distribution packages.
  76.   
  77. ! CTRLA='' : there should be a control-A between the single-quotes.
  78.   
  79.   bopt=''
  80.   n=''
  81.  
  82. --- 28,34 -----
  83.   
  84.   # Yes, you may rip this off to use in other distribution packages.
  85.   
  86. ! CTRL=`echo a | tr a '\011'`
  87.   
  88.   bopt=''
  89.   n=''
  90. Index: Makefile.SH
  91. Prereq: 4.4
  92. *** Makefile.SH    Tue Oct  1 23:39:28 1991
  93. --- ../rn4.4.1/Makefile.SH    Wed Sep 25 14:39:16 1991
  94. ***************
  95. *** 3,9
  96.   esac
  97.   echo "Extracting Makefile (with variable substitutions)"
  98.   cat >Makefile <<!GROK!THIS!
  99. ! # $Id: Makefile.SH,v 4.4 1991/09/09 20:18:23 sob Exp sob $
  100.   #
  101.   # This software is Copyright 1991 by Stan Barber. 
  102.   #
  103.  
  104. --- 3,9 -----
  105.   esac
  106.   echo "Extracting Makefile (with variable substitutions)"
  107.   cat >Makefile <<!GROK!THIS!
  108. ! # $Id: Makefile.SH,v 4.4.1.1 1991/09/25 19:38:08 sob Exp sob $
  109.   #
  110.   # This software is Copyright 1991 by Stan Barber. 
  111.   #
  112. ***************
  113. *** 18,23
  114.   # is at the user's own risk. 
  115.   #
  116.   # $Log: Makefile.SH,v $
  117.   # Revision 4.4  1991/09/09  20:18:23  sob
  118.   # release 4.4
  119.   #
  120.  
  121. --- 18,26 -----
  122.   # is at the user's own risk. 
  123.   #
  124.   # $Log: Makefile.SH,v $
  125. + # Revision 4.4.1.1  1991/09/25  19:38:08  sob
  126. + # Changed some install directives
  127. + #
  128.   # Revision 4.4  1991/09/09  20:18:23  sob
  129.   # release 4.4
  130.   #
  131. ***************
  132. *** 113,120
  133.       - mv $(rnbin)/rn $(rnbin)/rn.old
  134.   #NNTP    - ln -s rn $(rnbin)/rrn
  135.       - if test `pwd` != $(rnbin); then cp $(public) $(rnbin); fi
  136. !     cd $(rnbin); chmod 755 $(public); strip rn
  137. !     chmod 755 makedir
  138.       - ./makedir `./filexp $(rnlib)`
  139.       - if test `pwd` != `./filexp $(rnlib)`; then cp INIT $(private) `./filexp $(rnlib)`; fi
  140.       - if test ! -f `./filexp $(rnlib)/newsnews`; then cp newsnews `./filexp $(rnlib)`; fi
  141.  
  142. --- 116,124 -----
  143.       - mv $(rnbin)/rn $(rnbin)/rn.old
  144.   #NNTP    - ln -s rn $(rnbin)/rrn
  145.       - if test `pwd` != $(rnbin); then cp $(public) $(rnbin); fi
  146. !     - if test `pwd` != $(rnbin); then cd $(rnbin); chmod 755 $(public); strip rn ; fi
  147. ! #    - if test ! -x makedir; then chmod 755 makedir; fi
  148. !     - chmod 755 makedir
  149.       - ./makedir `./filexp $(rnlib)`
  150.       - if test `pwd` != `./filexp $(rnlib)`; then cp INIT $(private) `./filexp $(rnlib)`; fi
  151.   #NNTP    - if test `pwd` != `./filexp $(rnlib)`; then strip `./filexp $(rnlib)`/getactive ; fi
  152. ***************
  153. *** 117,122
  154.       chmod 755 makedir
  155.       - ./makedir `./filexp $(rnlib)`
  156.       - if test `pwd` != `./filexp $(rnlib)`; then cp INIT $(private) `./filexp $(rnlib)`; fi
  157.       - if test ! -f `./filexp $(rnlib)/newsnews`; then cp newsnews `./filexp $(rnlib)`; fi
  158.       cd `./filexp $(rnlib)`; chmod 755 $(private); chmod 644 INIT newsnews
  159.       - if test `pwd` != $(mansrc); then \
  160.  
  161. --- 121,127 -----
  162.       - chmod 755 makedir
  163.       - ./makedir `./filexp $(rnlib)`
  164.       - if test `pwd` != `./filexp $(rnlib)`; then cp INIT $(private) `./filexp $(rnlib)`; fi
  165. + #NNTP    - if test `pwd` != `./filexp $(rnlib)`; then strip `./filexp $(rnlib)`/getactive ; fi
  166.       - if test ! -f `./filexp $(rnlib)/newsnews`; then cp newsnews `./filexp $(rnlib)`; fi
  167.       cd `./filexp $(rnlib)`; chmod 755 $(private); chmod 644 INIT newsnews
  168.       - if test `pwd` != $(mansrc); then \
  169. Index: Pnews.1
  170. Prereq: 4.4
  171. *** Pnews.1    Tue Oct  1 23:39:33 1991
  172. --- ../rn4.4.1/Pnews.1    Wed Sep 25 14:37:05 1991
  173. ***************
  174. *** 1,22
  175. ! ''' $Id: Pnews.1,v 4.4 1991/09/09 20:18:23 sob Exp sob $
  176. ! ''' 
  177. ! ''' $Log: Pnews.1,v $
  178. ! # Revision 4.4  1991/09/09  20:18:23  sob
  179. ! # release 4.4
  180. ! #
  181. ! ''' 
  182. ! ''' This software is Copyright 1991 by Stan Barber. 
  183. ! '''
  184. ! ''' Permission is hereby granted to copy, reproduce, redistribute or otherwise
  185. ! ''' use this software as long as: there is no monetary profit gained
  186. ! ''' specifically from the use or reproduction of this software, it is not
  187. ! ''' sold, rented, traded or otherwise marketed, and this copyright notice is
  188. ! ''' included prominently in any copy made. 
  189. ! '''
  190. ! ''' The author make no claims as to the fitness or correctness of this software
  191. ! ''' for any use whatsoever, and it is provided as is. Any use of this software
  192. ! ''' is at the user's own risk. 
  193. ! '''
  194.   .de Sh
  195.   .br
  196.   .ne 5
  197.  
  198. --- 1,25 -----
  199. ! .\" $Id: Pnews.1,v 4.4.1.1 1991/09/25 19:36:48 sob Exp sob $
  200. ! .\" 
  201. ! .\" $Log: Pnews.1,v $
  202. ! .\" Revision 4.4.1.1  1991/09/25  19:36:48  sob
  203. ! .\" Changed quote macro to "standard" one
  204. ! .\"
  205. ! .\" Revision 4.4  1991/09/09  20:18:23  sob
  206. ! .\" release 4.4
  207. ! .\"
  208. ! .\" 
  209. ! .\" This software is Copyright 1991 by Stan Barber. 
  210. ! .\"
  211. ! .\" Permission is hereby granted to copy, reproduce, redistribute or otherwise
  212. ! .\" use this software as long as: there is no monetary profit gained
  213. ! .\" specifically from the use or reproduction of this software, it is not
  214. ! .\" sold, rented, traded or otherwise marketed, and this copyright notice is
  215. ! .\" included prominently in any copy made. 
  216. ! .\"
  217. ! .\" The author make no claims as to the fitness or correctness of this software
  218. ! .\" for any use whatsoever, and it is provided as is. Any use of this software
  219. ! .\" is at the user's own risk. 
  220. ! .\"
  221.   .de Sh
  222.   .br
  223.   .ne 5
  224. ***************
  225. *** 28,38
  226.   .if t .sp .5v
  227.   .if n .sp
  228.   ..
  229. ! '''
  230. ! '''     Set up \*(-- to give an unbreakable dash;
  231. ! '''     string Tr holds user defined translation string.
  232. ! '''     Bell System Logo is used as a dummy character.
  233. ! '''
  234.   .ie n \{\
  235.   .tr \(bs-\*(Tr
  236.   .ds -- \(bs-
  237.  
  238. --- 31,41 -----
  239.   .if t .sp .5v
  240.   .if n .sp
  241.   ..
  242. ! .\"
  243. ! .\"     Set up \*(-- to give an unbreakable dash;
  244. ! .\"     string Tr holds user defined translation string.
  245. ! .\"     Bell System Logo is used as a dummy character.
  246. ! .\"
  247.   .ie n \{\
  248.   .tr \(bs-\*(Tr
  249.   .ds -- \(bs-
  250. Index: Rnmail.1
  251. Prereq: 4.4
  252. *** Rnmail.1    Tue Oct  1 23:39:34 1991
  253. --- ../rn4.4.1/Rnmail.1    Wed Sep 25 14:37:07 1991
  254. ***************
  255. *** 1,22
  256. ! ''' $Id: Rnmail.1,v 4.4 1991/09/09 20:18:23 sob Exp sob $
  257. ! ''' 
  258. ! ''' $Log: Rnmail.1,v $
  259. ! # Revision 4.4  1991/09/09  20:18:23  sob
  260. ! # release 4.4
  261. ! #
  262. ! ''' 
  263. ! ''' This software is Copyright 1991 by Stan Barber. 
  264. ! '''
  265. ! ''' Permission is hereby granted to copy, reproduce, redistribute or otherwise
  266. ! ''' use this software as long as: there is no monetary profit gained
  267. ! ''' specifically from the use or reproduction of this software, it is not
  268. ! ''' sold, rented, traded or otherwise marketed, and this copyright notice is
  269. ! ''' included prominently in any copy made. 
  270. ! '''
  271. ! ''' The author make no claims as to the fitness or correctness of this software
  272. ! ''' for any use whatsoever, and it is provided as is. Any use of this software
  273. ! ''' is at the user's own risk. 
  274. ! '''
  275.   .de Sh
  276.   .br
  277.   .ne 5
  278.  
  279. --- 1,25 -----
  280. ! .\" $Id: Rnmail.1,v 4.4.1.1 1991/09/25 19:36:48 sob Exp sob $
  281. ! .\" 
  282. ! .\" $Log: Rnmail.1,v $
  283. ! .\" Revision 4.4.1.1  1991/09/25  19:36:48  sob
  284. ! .\" Changed quote macro to "standard" one
  285. ! .\"
  286. ! .\" Revision 4.4  1991/09/09  20:18:23  sob
  287. ! .\" release 4.4
  288. ! .\"
  289. ! .\" 
  290. ! .\" This software is Copyright 1991 by Stan Barber. 
  291. ! .\"
  292. ! .\" Permission is hereby granted to copy, reproduce, redistribute or otherwise
  293. ! .\" use this software as long as: there is no monetary profit gained
  294. ! .\" specifically from the use or reproduction of this software, it is not
  295. ! .\" sold, rented, traded or otherwise marketed, and this copyright notice is
  296. ! .\" included prominently in any copy made. 
  297. ! .\"
  298. ! .\" The author make no claims as to the fitness or correctness of this software
  299. ! .\" for any use whatsoever, and it is provided as is. Any use of this software
  300. ! .\" is at the user's own risk. 
  301. ! .\"
  302.   .de Sh
  303.   .br
  304.   .ne 5
  305. ***************
  306. *** 28,38
  307.   .if t .sp .5v
  308.   .if n .sp
  309.   ..
  310. ! '''
  311. ! '''     Set up \*(-- to give an unbreakable dash;
  312. ! '''     string Tr holds user defined translation string.
  313. ! '''     Bell System Logo is used as a dummy character.
  314. ! '''
  315.   .ie n \{\
  316.   .tr \(bs-\*(Tr
  317.   .ds -- \(bs-
  318.  
  319. --- 31,41 -----
  320.   .if t .sp .5v
  321.   .if n .sp
  322.   ..
  323. ! .\"
  324. ! .\"     Set up \*(-- to give an unbreakable dash;
  325. ! .\"     string Tr holds user defined translation string.
  326. ! .\"     Bell System Logo is used as a dummy character.
  327. ! .\"
  328.   .ie n \{\
  329.   .tr \(bs-\*(Tr
  330.   .ds -- \(bs-
  331. Index: newsetup.1
  332. Prereq: 4.4
  333. *** newsetup.1    Tue Oct  1 23:39:40 1991
  334. --- ../rn4.4.1/newsetup.1    Wed Sep 25 14:37:08 1991
  335. ***************
  336. *** 1,23
  337. ! ''' $Header: /home/sob/src/rn4.4/RCS/newsetup.1,v 4.4 1991/09/09 20:23:31 sob Exp sob $
  338. ! ''' 
  339. ! ''' $Log: newsetup.1,v $
  340. ! # Revision 4.4  1991/09/09  20:23:31  sob
  341. ! # release 4.4
  342. ! #
  343. ! '''
  344. ! ''' This software is Copyright 1991 by Stan Barber. 
  345. ! '''
  346. ! ''' Permission is hereby granted to copy, reproduce, redistribute or otherwise
  347. ! ''' use this software as long as: there is no monetary profit gained
  348. ! ''' specifically from the use or reproduction of this software, it is not
  349. ! ''' sold, rented, traded or otherwise marketed, and this copyright notice is
  350. ! ''' included prominently in any copy made. 
  351. ! '''
  352. ! ''' The author make no claims as to the fitness or correctness of this software
  353. ! ''' for any use whatsoever, and it is provided as is. Any use of this software
  354. ! ''' is at the user's own risk. 
  355. ! ''' 
  356. ! ''' 
  357.   .de Sh
  358.   .br
  359.   .ne 5
  360.  
  361. --- 1,26 -----
  362. ! .\" $Id: newsetup.1,v 4.4.1.1 1991/09/25 19:36:48 sob Exp sob $
  363. ! .\" 
  364. ! .\" $Log: newsetup.1,v $
  365. ! .\" Revision 4.4.1.1  1991/09/25  19:36:48  sob
  366. ! .\" Changed quote macro to "standard" one
  367. ! .\"
  368. ! .\" Revision 4.4  1991/09/09  20:23:31  sob
  369. ! .\" release 4.4
  370. ! .\"
  371. ! .\"
  372. ! .\" This software is Copyright 1991 by Stan Barber. 
  373. ! .\"
  374. ! .\" Permission is hereby granted to copy, reproduce, redistribute or otherwise
  375. ! .\" use this software as long as: there is no monetary profit gained
  376. ! .\" specifically from the use or reproduction of this software, it is not
  377. ! .\" sold, rented, traded or otherwise marketed, and this copyright notice is
  378. ! .\" included prominently in any copy made. 
  379. ! .\"
  380. ! .\" The author make no claims as to the fitness or correctness of this software
  381. ! .\" for any use whatsoever, and it is provided as is. Any use of this software
  382. ! .\" is at the user's own risk. 
  383. ! .\" 
  384. ! .\" 
  385.   .de Sh
  386.   .br
  387.   .ne 5
  388. ***************
  389. *** 29,39
  390.   .if t .sp .5v
  391.   .if n .sp
  392.   ..
  393. ! '''
  394. ! '''     Set up \*(-- to give an unbreakable dash;
  395. ! '''     string Tr holds user defined translation string.
  396. ! '''     Bell System Logo is used as a dummy character.
  397. ! '''
  398.   .ie n \{\
  399.   .tr \(bs-\*(Tr
  400.   .ds -- \(bs-
  401.  
  402. --- 32,42 -----
  403.   .if t .sp .5v
  404.   .if n .sp
  405.   ..
  406. ! .\"
  407. ! .\"     Set up \*(-- to give an unbreakable dash;
  408. ! .\"     string Tr holds user defined translation string.
  409. ! .\"     Bell System Logo is used as a dummy character.
  410. ! .\"
  411.   .ie n \{\
  412.   .tr \(bs-\*(Tr
  413.   .ds -- \(bs-
  414. Index: newsetup.SH
  415. Prereq: 4.4
  416. *** newsetup.SH    Tue Oct  1 23:39:36 1991
  417. --- ../rn4.4.1/newsetup.SH    Wed Sep 25 14:38:27 1991
  418. ***************
  419. *** 5,11
  420.   $spitshell >newsetup <<!GROK!THIS!
  421.   $startsh
  422.   #
  423. ! # $Id: newsetup.SH,v 4.4 1991/09/09 20:23:31 sob Exp sob $
  424.   # 
  425.   # $Log: newsetup.SH,v $
  426.   # Revision 4.4  1991/09/09  20:23:31  sob
  427.  
  428. --- 5,11 -----
  429.   $spitshell >newsetup <<!GROK!THIS!
  430.   $startsh
  431.   #
  432. ! # $Id: newsetup.SH,v 4.4.1.1 1991/09/25 19:38:08 sob Exp sob $
  433.   # 
  434.   # $Log: newsetup.SH,v $
  435.   # Revision 4.4.1.1  1991/09/25  19:38:08  sob
  436. ***************
  437. *** 8,13
  438.   # $Id: newsetup.SH,v 4.4 1991/09/09 20:23:31 sob Exp sob $
  439.   # 
  440.   # $Log: newsetup.SH,v $
  441.   # Revision 4.4  1991/09/09  20:23:31  sob
  442.   # release 4.4
  443.   #
  444.  
  445. --- 8,16 -----
  446.   # $Id: newsetup.SH,v 4.4.1.1 1991/09/25 19:38:08 sob Exp sob $
  447.   # 
  448.   # $Log: newsetup.SH,v $
  449. + # Revision 4.4.1.1  1991/09/25  19:38:08  sob
  450. + # various fixed
  451. + #
  452.   # Revision 4.4  1991/09/09  20:23:31  sob
  453.   # release 4.4
  454.   #
  455. ***************
  456. *** 44,51
  457.   #NNTPactive="/tmp/active.\$\$"
  458.   
  459.   dotdir="\${DOTDIR-\${HOME-\$LOGDIR}}"
  460. ! $rm -f \$dotdir/.oldnewsrc
  461. ! $echo "Creating .newsrc in \$dotdir to be used by news programs."
  462.   #NNTPrnlib=$rnlib
  463.   #NNTPcase \$rnlib in
  464.   #NNTP~*) rnlib=\`$filexp \$rnlib\` ;;
  465.  
  466. --- 47,55 -----
  467.   #NNTPactive="/tmp/active.\$\$"
  468.   
  469.   dotdir="\${DOTDIR-\${HOME-\$LOGDIR}}"
  470. ! newsrc="\${NEWSRC-\$dotdir/.newsrc}"
  471. ! $rm -f \$newsrc-old
  472. ! $echo "Creating \$newsrc to be used by news programs."
  473.   #NNTPrnlib=$rnlib
  474.   #NNTPcase \$rnlib in
  475.   #NNTP~*) rnlib=\`$filexp \$rnlib\` ;;
  476. ***************
  477. *** 59,67
  478.   #NORMAL~*) active=\`$filexp \$active\` ;;
  479.   #NORMALesac
  480.   
  481. ! if $test -s \$dotdir/.newsrc ; then
  482. !     $echo "Saving your current .newsrc as .oldnewsrc..."
  483. !     $mv -f \$dotdir/.newsrc \$dotdir/.oldnewsrc
  484.   fi
  485.   
  486.   : newsrc order determined here
  487.  
  488. --- 63,71 -----
  489.   #NORMAL~*) active=\`$filexp \$active\` ;;
  490.   #NORMALesac
  491.   
  492. ! if $test -s \$newsrc ; then
  493. !     $echo "Saving your current \$newsrc as \$newsrc-old..."
  494. !     $mv -f \$newsrc \$newsrc-old
  495.   fi
  496.   
  497.   : newsrc order determined here
  498. ***************
  499. *** 95,101
  500.       /^14 /!s/\$/:/
  501.       /^14 /s/\$/!/
  502.       s/^[0-9][0-9] //
  503. ! ' >\$dotdir/.newsrc
  504.   
  505.   #NNTP$rm -f \$active
  506.   $rm -f /tmp/n.misc\$\$ /tmp/n.sci\$\$ /tmp/n.soc\$\$ /tmp/n.news\$\$ /tmp/n.comp\$\$
  507.  
  508. --- 99,105 -----
  509.       /^14 /!s/\$/:/
  510.       /^14 /s/\$/!/
  511.       s/^[0-9][0-9] //
  512. ! ' >\$newsrc
  513.   
  514.   #NNTP$rm -f \$active
  515.   $rm -f /tmp/n.misc\$\$ /tmp/n.sci\$\$ /tmp/n.soc\$\$ /tmp/n.news\$\$ /tmp/n.comp\$\$
  516. Index: newsgroups.1
  517. Prereq: 4.4
  518. *** newsgroups.1    Tue Oct  1 23:39:39 1991
  519. --- ../rn4.4.1/newsgroups.1    Wed Sep 25 14:37:10 1991
  520. ***************
  521. *** 1,23
  522. ! ''' $Header: /home/sob/src/rn4.4/RCS/newsgroups.1,v 4.4 1991/09/09 20:23:31 sob Exp sob $
  523. ! ''' 
  524. ! ''' $Log: newsgroups.1,v $
  525. ! # Revision 4.4  1991/09/09  20:23:31  sob
  526. ! # release 4.4
  527. ! #
  528. ! '''
  529. ! ''' This software is Copyright 1991 by Stan Barber. 
  530. ! '''
  531. ! ''' Permission is hereby granted to copy, reproduce, redistribute or otherwise
  532. ! ''' use this software as long as: there is no monetary profit gained
  533. ! ''' specifically from the use or reproduction of this software, it is not
  534. ! ''' sold, rented, traded or otherwise marketed, and this copyright notice is
  535. ! ''' included prominently in any copy made. 
  536. ! '''
  537. ! ''' The author make no claims as to the fitness or correctness of this software
  538. ! ''' for any use whatsoever, and it is provided as is. Any use of this software
  539. ! ''' is at the user's own risk. 
  540. ! ''' 
  541. ! ''' 
  542.   .de Sh
  543.   .br
  544.   .ne 5
  545.  
  546. --- 1,26 -----
  547. ! .\" $Id: newsgroups.1,v 4.4.1.1 1991/09/25 19:36:48 sob Exp sob $
  548. ! .\" 
  549. ! .\" $Log: newsgroups.1,v $
  550. ! .\" Revision 4.4.1.1  1991/09/25  19:36:48  sob
  551. ! .\" Changed quote macro to "standard" one
  552. ! .\"
  553. ! .\" Revision 4.4  1991/09/09  20:23:31  sob
  554. ! .\" release 4.4
  555. ! .\"
  556. ! .\"
  557. ! .\" This software is Copyright 1991 by Stan Barber. 
  558. ! .\"
  559. ! .\" Permission is hereby granted to copy, reproduce, redistribute or otherwise
  560. ! .\" use this software as long as: there is no monetary profit gained
  561. ! .\" specifically from the use or reproduction of this software, it is not
  562. ! .\" sold, rented, traded or otherwise marketed, and this copyright notice is
  563. ! .\" included prominently in any copy made. 
  564. ! .\"
  565. ! .\" The author make no claims as to the fitness or correctness of this software
  566. ! .\" for any use whatsoever, and it is provided as is. Any use of this software
  567. ! .\" is at the user's own risk. 
  568. ! .\" 
  569. ! .\" 
  570.   .de Sh
  571.   .br
  572.   .ne 5
  573. ***************
  574. *** 29,39
  575.   .if t .sp .5v
  576.   .if n .sp
  577.   ..
  578. ! '''
  579. ! '''     Set up \*(-- to give an unbreakable dash;
  580. ! '''     string Tr holds user defined translation string.
  581. ! '''     Bell System Logo is used as a dummy character.
  582. ! '''
  583.   .ie n \{\
  584.   .tr \(bs-\*(Tr
  585.   .ds -- \(bs-
  586.  
  587. --- 32,42 -----
  588.   .if t .sp .5v
  589.   .if n .sp
  590.   ..
  591. ! .\"
  592. ! .\"     Set up \*(-- to give an unbreakable dash;
  593. ! .\"     string Tr holds user defined translation string.
  594. ! .\"     Bell System Logo is used as a dummy character.
  595. ! .\"
  596.   .ie n \{\
  597.   .tr \(bs-\*(Tr
  598.   .ds -- \(bs-
  599. Index: newsgroups.SH
  600. Prereq: 4.4
  601. *** newsgroups.SH    Tue Oct  1 23:39:37 1991
  602. --- ../rn4.4.1/newsgroups.SH    Wed Sep 25 14:38:30 1991
  603. ***************
  604. *** 4,10
  605.   echo "Extracting newsgroups (with variable substitutions)"
  606.   $spitshell >newsgroups <<!GROK!THIS!
  607.   $startsh
  608. ! # $Id: newsgroups.SH,v 4.4 1991/09/09 20:23:31 sob Exp sob $
  609.   # 
  610.   # $Log: newsgroups.SH,v $
  611.   # Revision 4.4  1991/09/09  20:23:31  sob
  612.  
  613. --- 4,10 -----
  614.   echo "Extracting newsgroups (with variable substitutions)"
  615.   $spitshell >newsgroups <<!GROK!THIS!
  616.   $startsh
  617. ! # $Id: newsgroups.SH,v 4.4.1.1 1991/09/25 19:38:08 sob Exp sob $
  618.   # 
  619.   # $Log: newsgroups.SH,v $
  620.   # Revision 4.4.1.1  1991/09/25  19:38:08  sob
  621. ***************
  622. *** 7,12
  623.   # $Id: newsgroups.SH,v 4.4 1991/09/09 20:23:31 sob Exp sob $
  624.   # 
  625.   # $Log: newsgroups.SH,v $
  626.   # Revision 4.4  1991/09/09  20:23:31  sob
  627.   # release 4.4
  628.   #
  629.  
  630. --- 7,15 -----
  631.   # $Id: newsgroups.SH,v 4.4.1.1 1991/09/25 19:38:08 sob Exp sob $
  632.   # 
  633.   # $Log: newsgroups.SH,v $
  634. + # Revision 4.4.1.1  1991/09/25  19:38:08  sob
  635. + # various fixed
  636. + #
  637.   # Revision 4.4  1991/09/09  20:23:31  sob
  638.   # release 4.4
  639.   #
  640. ***************
  641. *** 59,64
  642.   fi
  643.   
  644.   dotdir=\${DOTDIR-\${HOME-\$LOGDIR}}
  645.   
  646.   : Throwing .newsrc into the pot twice is a lovely hack to prevent
  647.   : bogus newsgroups from showing up as unsubscribed.
  648.  
  649. --- 62,68 -----
  650.   fi
  651.   
  652.   dotdir=\${DOTDIR-\${HOME-\$LOGDIR}}
  653. + newsrc=\${NEWSRC-\$dotdir/.newsrc}
  654.   
  655.   : Throwing .newsrc into the pot twice is a lovely hack to prevent
  656.   : bogus newsgroups from showing up as unsubscribed.
  657. ***************
  658. *** 63,69
  659.   : Throwing .newsrc into the pot twice is a lovely hack to prevent
  660.   : bogus newsgroups from showing up as unsubscribed.
  661.   
  662. ! $cat \$dotdir/.newsrc \$dotdir/.newsrc \$active | \\
  663.   $sed -n    -e '/^options/d' \\
  664.       -e '/^[     ]/d' \\
  665.       -e '/^control/d' \\
  666.  
  667. --- 67,73 -----
  668.   : Throwing .newsrc into the pot twice is a lovely hack to prevent
  669.   : bogus newsgroups from showing up as unsubscribed.
  670.   
  671. ! $cat \$newsrc \$newsrc \$active | \\
  672.   $sed -n    -e '/^options/d' \\
  673.       -e '/^[     ]/d' \\
  674.       -e '/^control/d' \\
  675. ***************
  676. *** 79,86
  677.   $echo $n "[Type return to continue] $c"
  678.   read tmp
  679.   $echo ""
  680. ! $echo "Unsubscribed but mentioned in .newsrc:"
  681. ! $sed -n < \$dotdir/.newsrc \\
  682.       -e "/\$1.*!/"'s/^\([^!]*\)!.*\$/\1/p' | \\
  683.   $sort | \$pager
  684.   !GROK!THIS!
  685.  
  686. --- 83,90 -----
  687.   $echo $n "[Type return to continue] $c"
  688.   read tmp
  689.   $echo ""
  690. ! $echo "Unsubscribed but mentioned in \$newsrc:"
  691. ! $sed -n < \$newsrc \\
  692.       -e "/\$1.*!/"'s/^\([^!]*\)!.*\$/\1/p' | \\
  693.   $sort | \$pager
  694.   !GROK!THIS!
  695. Index: ngdata.c
  696. Prereq: 4.4
  697. *** ngdata.c    Tue Oct  1 23:39:18 1991
  698. --- ../rn4.4.1/ngdata.c    Wed Sep 25 14:39:03 1991
  699. ***************
  700. *** 1,4
  701. ! /* $Id: ngdata.c,v 4.4 1991/09/09 20:23:31 sob Exp sob $
  702.    *
  703.    * $Log: ngdata.c,v $
  704.    * Revision 4.4  1991/09/09  20:23:31  sob
  705.  
  706. --- 1,4 -----
  707. ! /* $Id: ngdata.c,v 4.4.1.1 1991/09/25 19:38:08 sob Exp sob $
  708.    *
  709.    * $Log: ngdata.c,v $
  710.    * Revision 4.4.1.1  1991/09/25  19:38:08  sob
  711. ***************
  712. *** 1,6
  713.   /* $Id: ngdata.c,v 4.4 1991/09/09 20:23:31 sob Exp sob $
  714.    *
  715.    * $Log: ngdata.c,v $
  716.    * Revision 4.4  1991/09/09  20:23:31  sob
  717.    * release 4.4
  718.    *
  719.  
  720. --- 1,9 -----
  721.   /* $Id: ngdata.c,v 4.4.1.1 1991/09/25 19:38:08 sob Exp sob $
  722.    *
  723.    * $Log: ngdata.c,v $
  724. +  * Revision 4.4.1.1  1991/09/25  19:38:08  sob
  725. +  * Some adaptions for CNEWS
  726. +  *
  727.    * Revision 4.4  1991/09/09  20:23:31  sob
  728.    * release 4.4
  729.    *
  730. ***************
  731. *** 155,161
  732.       printf("Should be %ld\n",(long)softptr[num]) FLUSH;
  733.       }
  734.   #endif
  735. - #ifdef MININACT
  736.       {
  737.       register char *s, ch;
  738.       ART_NUM tmp;
  739.  
  740. --- 158,163 -----
  741.       printf("Should be %ld\n",(long)softptr[num]) FLUSH;
  742.       }
  743.   #endif
  744.       {
  745.       register char *s, ch;
  746.       ART_NUM tmp;
  747. ***************
  748. *** 162,167
  749.   
  750.       for (s=tmpbuf+len+1; isdigit(*s); s++) ;
  751.       if (tmp = atol(s))
  752.   #ifdef CACHEFIRST
  753.           abs1st[num] = tmp;
  754.   #else
  755.  
  756. --- 164,170 -----
  757.   
  758.       for (s=tmpbuf+len+1; isdigit(*s); s++) ;
  759.       if (tmp = atol(s))
  760. + #ifdef MININACT
  761.   #ifdef CACHEFIRST
  762.           abs1st[num] = tmp;
  763.   #else
  764. ***************
  765. *** 167,172
  766.   #else
  767.           abs1st = tmp;
  768.   #endif
  769.       if (!in_ng) {
  770.           for (s++; isdigit(*s); s++) ;
  771.           while (isspace(*s)) s++;
  772.  
  773. --- 170,176 -----
  774.   #else
  775.           abs1st = tmp;
  776.   #endif
  777. + #endif
  778.       if (!in_ng) {
  779.           for (s++; isdigit(*s); s++) ;
  780.           while (isspace(*s)) s++;
  781. ***************
  782. *** 185,191
  783.           }
  784.       }
  785.       }
  786. - #endif
  787.       return atol(tmpbuf+len+1);
  788.   }
  789.   
  790.  
  791. --- 189,194 -----
  792.           }
  793.       }
  794.       }
  795.       return atol(tmpbuf+len+1);
  796.   }
  797.   
  798. ***************
  799. *** 248,254
  800.   register NG_NUM ngnum;
  801.   ART_NUM ngsize;
  802.   {
  803. !     register ART_NUM a1st;
  804.   #ifndef MININACT
  805.       ART_NUM x,y;
  806.   #endif
  807.  
  808. --- 251,257 -----
  809.   register NG_NUM ngnum;
  810.   ART_NUM ngsize;
  811.   {
  812. !     ART_NUM a1st;
  813.   #ifndef MININACT
  814.       ART_NUM x,y;
  815.   #endif
  816. ***************
  817. *** 265,272
  818.       return abs1st;
  819.   # endif
  820.   #else
  821. !     sprintf(cp,"GROUP %s",rcline[ngnum]);
  822. !     put_server(cp);
  823.       if (nntp_get(ser_line, sizeof(ser_line)) < 0) {
  824.       fprintf(stderr, "\nrrn: Unexpected close of server socket.\n");
  825.       finalize(1);
  826.  
  827. --- 268,276 -----
  828.       return abs1st;
  829.   # endif
  830.   #else
  831. !     getngsize(ngnum); /* set moderated as side effect */
  832. !     sprintf(ser_line,"GROUP %s",rcline[ngnum]);
  833. !     put_server(ser_line);
  834.       if (nntp_get(ser_line, sizeof(ser_line)) < 0) {
  835.       fprintf(stderr, "\nrrn: Unexpected close of server socket.\n");
  836.       finalize(1);
  837. ***************
  838. *** 316,321
  839.       return abs1st;
  840.   # endif
  841.   #else /* not MININACT */
  842.       sprintf(dirname,"%s/%s",spool,getngdir(rcline[ngnum]));
  843.       a1st = getngmin(dirname,0L);
  844.       if (!a1st)                /* nothing there at all? */
  845.  
  846. --- 320,326 -----
  847.       return abs1st;
  848.   # endif
  849.   #else /* not MININACT */
  850. +     getngsize(ngnum); /* set moderate as side effect */
  851.       sprintf(dirname,"%s/%s",spool,getngdir(rcline[ngnum]));
  852.       a1st = getngmin(dirname,0L);
  853.       if (!a1st)                /* nothing there at all? */
  854. Index: rcln.c
  855. Prereq: 4.4
  856. *** rcln.c    Tue Oct  1 23:38:48 1991
  857. --- ../rn4.4.1/rcln.c    Wed Sep 25 14:39:01 1991
  858. ***************
  859. *** 1,4
  860. ! /* $Id: rcln.c,v 4.4 1991/09/09 20:27:37 sob Exp sob $
  861.    *
  862.    * $Log: rcln.c,v $
  863.    * Revision 4.4  1991/09/09  20:27:37  sob
  864.  
  865. --- 1,4 -----
  866. ! /* $Id: rcln.c,v 4.4.1.1 1991/09/25 19:38:08 sob Exp sob $
  867.    *
  868.    * $Log: rcln.c,v $
  869.    * Revision 4.4.1.1  1991/09/25  19:38:08  sob
  870. ***************
  871. *** 1,6
  872.   /* $Id: rcln.c,v 4.4 1991/09/09 20:27:37 sob Exp sob $
  873.    *
  874.    * $Log: rcln.c,v $
  875.    * Revision 4.4  1991/09/09  20:27:37  sob
  876.    * release 4.4
  877.    *
  878.  
  879. --- 1,9 -----
  880.   /* $Id: rcln.c,v 4.4.1.1 1991/09/25 19:38:08 sob Exp sob $
  881.    *
  882.    * $Log: rcln.c,v $
  883. +  * Revision 4.4.1.1  1991/09/25  19:38:08  sob
  884. +  * Some adaptions for CNEWS
  885. +  *
  886.    * Revision 4.4  1991/09/09  20:27:37  sob
  887.    * release 4.4
  888.    *
  889. ***************
  890. *** 82,87
  891.   #else
  892.       if (!toread[ngnum])
  893.   #endif
  894.                       /* now is a good time to trim down */
  895.       set_toread(ngnum);        /* the list due to expires if we */
  896.                       /* have not yet. */
  897.  
  898. --- 85,91 -----
  899.   #else
  900.       if (!toread[ngnum])
  901.   #endif
  902. + #if !defined(SERVER) || defined(MININACT)
  903.                       /* now is a good time to trim down */
  904.       set_toread(ngnum);        /* the list due to expires if we */
  905.                       /* have not yet. */
  906. ***************
  907. *** 85,90
  908.                       /* now is a good time to trim down */
  909.       set_toread(ngnum);        /* the list due to expires if we */
  910.                       /* have not yet. */
  911.   #ifdef DEBUGGING
  912.       if (artnum > ngmax[ngnum] + 100    /* allow for incoming articles */
  913.          ) {
  914.  
  915. --- 89,95 -----
  916.                       /* now is a good time to trim down */
  917.       set_toread(ngnum);        /* the list due to expires if we */
  918.                       /* have not yet. */
  919. + #endif
  920.   #ifdef DEBUGGING
  921.       if (artnum > ngmax[ngnum] + 100    /* allow for incoming articles */
  922.          ) {
  923. Index: respond.c
  924. Prereq: 4.4
  925. *** respond.c    Tue Oct  1 23:39:07 1991
  926. --- ../rn4.4.1/respond.c    Wed Sep 25 14:38:58 1991
  927. ***************
  928. *** 1,4
  929. ! /* $Id: respond.c,v 4.4 1991/09/09 20:27:37 sob Exp sob $
  930.    *
  931.    * $Log: respond.c,v $
  932.    * Revision 4.4  1991/09/09  20:27:37  sob
  933.  
  934. --- 1,4 -----
  935. ! /* $Id: respond.c,v 4.4.1.1 1991/09/25 19:38:08 sob Exp sob $
  936.    *
  937.    * $Log: respond.c,v $
  938.    * Revision 4.4.1.1  1991/09/25  19:38:08  sob
  939. ***************
  940. *** 1,6
  941.   /* $Id: respond.c,v 4.4 1991/09/09 20:27:37 sob Exp sob $
  942.    *
  943.    * $Log: respond.c,v $
  944.    * Revision 4.4  1991/09/09  20:27:37  sob
  945.    * release 4.4
  946.    *
  947.  
  948. --- 1,9 -----
  949.   /* $Id: respond.c,v 4.4.1.1 1991/09/25 19:38:08 sob Exp sob $
  950.    *
  951.    * $Log: respond.c,v $
  952. +  * Revision 4.4.1.1  1991/09/25  19:38:08  sob
  953. +  * Some adaptions for CNEWS
  954. +  *
  955.    * Revision 4.4  1991/09/09  20:27:37  sob
  956.    * release 4.4
  957.    *
  958. ***************
  959. *** 199,204
  960.             extract_it:
  961.               cnt = 0;
  962.               interp(cmd_buf,(sizeof cmd_buf),getval("EXSAVER",EXSAVER));
  963.               resetty();        /* restore tty state */
  964.               doshell(SH,cmd_buf);
  965.               noecho();        /* revert to cbreaking */
  966.  
  967. --- 202,208 -----
  968.             extract_it:
  969.               cnt = 0;
  970.               interp(cmd_buf,(sizeof cmd_buf),getval("EXSAVER",EXSAVER));
  971. +             termlib_reset();
  972.               resetty();        /* restore tty state */
  973.               doshell(SH,cmd_buf);
  974.               noecho();        /* revert to cbreaking */
  975. ***************
  976. *** 203,208
  977.               doshell(SH,cmd_buf);
  978.               noecho();        /* revert to cbreaking */
  979.               crmode();
  980.               break;
  981.           }
  982.           else
  983.  
  984. --- 207,213 -----
  985.               doshell(SH,cmd_buf);
  986.               noecho();        /* revert to cbreaking */
  987.               crmode();
  988. +             termlib_init();
  989.               break;
  990.           }
  991.           else
  992. ***************
  993. *** 250,255
  994.       savedest = savestr(altbuf);
  995.       interp(cmd_buf, (sizeof cmd_buf), getval("PIPESAVER",PIPESAVER));
  996.                   /* then set up for command */
  997.       resetty();        /* restore tty state */
  998.       if (use_pref)        /* use preferred shell? */
  999.           doshell(Nullch,cmd_buf);
  1000.  
  1001. --- 255,261 -----
  1002.       savedest = savestr(altbuf);
  1003.       interp(cmd_buf, (sizeof cmd_buf), getval("PIPESAVER",PIPESAVER));
  1004.                   /* then set up for command */
  1005. +     termlib_reset();
  1006.       resetty();        /* restore tty state */
  1007.       if (use_pref)        /* use preferred shell? */
  1008.           doshell(Nullch,cmd_buf);
  1009. ***************
  1010. *** 258,263
  1011.           doshell(sh,cmd_buf);    /* do command with sh */
  1012.       noecho();        /* and stop echoing */
  1013.       crmode();        /* and start cbreaking */
  1014.       }
  1015.       else {            /* normal save */
  1016.       bool there, mailbox;
  1017.  
  1018. --- 264,270 -----
  1019.           doshell(sh,cmd_buf);    /* do command with sh */
  1020.       noecho();        /* and stop echoing */
  1021.       crmode();        /* and start cbreaking */
  1022. +     termlib_init();
  1023.       }
  1024.       else {            /* normal save */
  1025.       bool there, mailbox;
  1026. ***************
  1027. *** 387,392
  1028.           getval("MBOXSAVER",MBOXSAVER) :
  1029.           getval("NORMSAVER",NORMSAVER) ), sizeof cmd_buf);
  1030.                   /* format the command */
  1031.       resetty();        /* make terminal behave */
  1032.       if (doshell(use_pref?Nullch:SH,cmd_buf))
  1033.           fputs("Not saved",stdout);
  1034.  
  1035. --- 394,400 -----
  1036.           getval("MBOXSAVER",MBOXSAVER) :
  1037.           getval("NORMSAVER",NORMSAVER) ), sizeof cmd_buf);
  1038.                   /* format the command */
  1039. +     termlib_reset();
  1040.       resetty();        /* make terminal behave */
  1041.       if (doshell(use_pref?Nullch:SH,cmd_buf)) {
  1042.           termlib_init();
  1043. ***************
  1044. *** 388,394
  1045.           getval("NORMSAVER",NORMSAVER) ), sizeof cmd_buf);
  1046.                   /* format the command */
  1047.       resetty();        /* make terminal behave */
  1048. !     if (doshell(use_pref?Nullch:SH,cmd_buf))
  1049.           fputs("Not saved",stdout);
  1050.       else
  1051.           printf("%s to %s %s",
  1052.  
  1053. --- 396,403 -----
  1054.                   /* format the command */
  1055.       termlib_reset();
  1056.       resetty();        /* make terminal behave */
  1057. !     if (doshell(use_pref?Nullch:SH,cmd_buf)) {
  1058. !         termlib_init();
  1059.           fputs("Not saved",stdout);
  1060.       } else {
  1061.           termlib_init();
  1062. ***************
  1063. *** 390,396
  1064.       resetty();        /* make terminal behave */
  1065.       if (doshell(use_pref?Nullch:SH,cmd_buf))
  1066.           fputs("Not saved",stdout);
  1067. !     else
  1068.           printf("%s to %s %s",
  1069.             there?"Appended":"Saved",
  1070.             mailbox?"mailbox":"file",
  1071.  
  1072. --- 399,406 -----
  1073.       if (doshell(use_pref?Nullch:SH,cmd_buf)) {
  1074.           termlib_init();
  1075.           fputs("Not saved",stdout);
  1076. !     } else {
  1077. !         termlib_init();
  1078.           printf("%s to %s %s",
  1079.             there?"Appended":"Saved",
  1080.             mailbox?"mailbox":"file",
  1081. ***************
  1082. *** 395,400
  1083.             there?"Appended":"Saved",
  1084.             mailbox?"mailbox":"file",
  1085.             s);
  1086.       if (interactive)
  1087.           putchar('\n') FLUSH;
  1088.       noecho();        /* make terminal do what we want */
  1089.  
  1090. --- 405,411 -----
  1091.             there?"Appended":"Saved",
  1092.             mailbox?"mailbox":"file",
  1093.             s);
  1094. +     }
  1095.       if (interactive)
  1096.           putchar('\n') FLUSH;
  1097.       noecho();        /* make terminal do what we want */
  1098. ***************
  1099. *** 446,451
  1100.        myuid != newsuid &&
  1101.   #endif
  1102.        myuid != ROOTID ) ) {
  1103.           if (debug)
  1104.           printf("\n%s@%s != %s\n",logname,sitename,from_buf) FLUSH;
  1105.   #ifdef VERBOSE
  1106.  
  1107. --- 457,463 -----
  1108.        myuid != newsuid &&
  1109.   #endif
  1110.        myuid != ROOTID ) ) {
  1111. + #ifdef DEBUGGING
  1112.           if (debug)
  1113.           printf("\n%s@%s != %s\n",logname,sitename,from_buf) FLUSH;
  1114.   #endif
  1115. ***************
  1116. *** 448,453
  1117.        myuid != ROOTID ) ) {
  1118.           if (debug)
  1119.           printf("\n%s@%s != %s\n",logname,sitename,from_buf) FLUSH;
  1120.   #ifdef VERBOSE
  1121.           IF(verbose)
  1122.           fputs("\nYou can't cancel someone else's article\n",stdout)
  1123.  
  1124. --- 460,466 -----
  1125.   #ifdef DEBUGGING
  1126.           if (debug)
  1127.           printf("\n%s@%s != %s\n",logname,sitename,from_buf) FLUSH;
  1128. + #endif
  1129.   #ifdef VERBOSE
  1130.           IF(verbose)
  1131.           fputs("\nYou can't cancel someone else's article\n",stdout)
  1132. ***************
  1133. *** 512,517
  1134.        myuid != newsuid &&
  1135.   #endif
  1136.        myuid != ROOTID ) ) {
  1137.           if (debug)
  1138.           printf("\n%s@%s != %s\n",logname,sitename,from_buf) FLUSH;
  1139.   #ifdef VERBOSE
  1140.  
  1141. --- 525,531 -----
  1142.        myuid != newsuid &&
  1143.   #endif
  1144.        myuid != ROOTID ) ) {
  1145. + #ifdef DEBUGGING
  1146.           if (debug)
  1147.           printf("\n%s@%s != %s\n",logname,sitename,from_buf) FLUSH;
  1148.   #endif
  1149. ***************
  1150. *** 514,519
  1151.        myuid != ROOTID ) ) {
  1152.           if (debug)
  1153.           printf("\n%s@%s != %s\n",logname,sitename,from_buf) FLUSH;
  1154.   #ifdef VERBOSE
  1155.           IF(verbose)
  1156.           fputs("\nYou can't supersede someone else's article\n",stdout)
  1157.  
  1158. --- 528,534 -----
  1159.   #ifdef DEBUGGING
  1160.           if (debug)
  1161.           printf("\n%s@%s != %s\n",logname,sitename,from_buf) FLUSH;
  1162. + #endif
  1163.   #ifdef VERBOSE
  1164.           IF(verbose)
  1165.           fputs("\nYou can't supersede someone else's article\n",stdout)
  1166. ***************
  1167. *** 637,642
  1168.       printf(nocd,dir) FLUSH;
  1169.       return;
  1170.       }
  1171.   #ifdef VERBOSE
  1172.       IF(verbose)
  1173.       printf("\n(leaving cbreak mode; cwd=%s)\nInvoking command: %s\n\n",
  1174.  
  1175. --- 652,658 -----
  1176.       printf(nocd,dir) FLUSH;
  1177.       return;
  1178.       }
  1179. +     termlib_reset();
  1180.   #ifdef VERBOSE
  1181.       IF(verbose)
  1182.       printf("\n(leaving cbreak mode; cwd=%s)\nInvoking command: %s\n\n",
  1183. ***************
  1184. *** 658,663
  1185.   #ifdef TERSE
  1186.       fputs("\n(+cbreak)\n",stdout) FLUSH;
  1187.   #endif
  1188.   #ifdef SERVER
  1189.       if (chdir(spool)) {
  1190.   #else /* not SERVER */
  1191.  
  1192. --- 674,680 -----
  1193.   #ifdef TERSE
  1194.       fputs("\n(+cbreak)\n",stdout) FLUSH;
  1195.   #endif
  1196. +     termlib_init();
  1197.   #ifdef SERVER
  1198.       if (chdir(spool)) {
  1199.   #else /* not SERVER */
  1200. Index: rn.1
  1201. Prereq: 4.4
  1202. *** rn.1    Tue Oct  1 23:38:17 1991
  1203. --- ../rn4.4.1/rn.1    Wed Sep 25 14:37:13 1991
  1204. ***************
  1205. *** 1,17
  1206. ! ''' $Header: /home/sob/src/rn4.4/RCS/rn.1,v 4.4 1991/09/09 20:27:37 sob Exp sob $
  1207. ! ''' 
  1208. ! ''' This software is Copyright 1991 by Stan Barber. 
  1209. ! '''
  1210. ! ''' Permission is hereby granted to copy, reproduce, redistribute or otherwise
  1211. ! ''' use this software as long as: there is no monetary profit gained
  1212. ! ''' specifically from the use or reproduction of this software, it is not
  1213. ! ''' sold, rented, traded or otherwise marketed, and this copyright notice is
  1214. ! ''' included prominently in any copy made. 
  1215. ! '''
  1216. ! ''' The author make no claims as to the fitness or correctness of this software
  1217. ! ''' for any use whatsoever, and it is provided as is. Any use of this software
  1218. ! ''' is at the user's own risk. 
  1219. ! ''' 
  1220.   .de Sh
  1221.   .br
  1222.   .ne 5
  1223.  
  1224. --- 1,17 -----
  1225. ! .\" $Id: rn.1,v 4.4.1.1 1991/09/25 19:36:48 sob Exp sob $
  1226. ! .\" 
  1227. ! .\" This software is Copyright 1991 by Stan Barber. 
  1228. ! .\"
  1229. ! .\" Permission is hereby granted to copy, reproduce, redistribute or otherwise
  1230. ! .\" use this software as long as: there is no monetary profit gained
  1231. ! .\" specifically from the use or reproduction of this software, it is not
  1232. ! .\" sold, rented, traded or otherwise marketed, and this copyright notice is
  1233. ! .\" included prominently in any copy made. 
  1234. ! .\"
  1235. ! .\" The author make no claims as to the fitness or correctness of this software
  1236. ! .\" for any use whatsoever, and it is provided as is. Any use of this software
  1237. ! .\" is at the user's own risk. 
  1238. ! .\" 
  1239.   .de Sh
  1240.   .br
  1241.   .ne 5
  1242. ***************
  1243. *** 29,39
  1244.   .el .ne 3
  1245.   .IP "\\$1" \\$2
  1246.   ..
  1247. ! '''
  1248. ! '''     Set up \*(-- to give an unbreakable dash;
  1249. ! '''     string Tr holds user defined translation string.
  1250. ! '''     Bell System Logo is used as a dummy character.
  1251. ! '''
  1252.   .tr \(bs-|\(bv\*(Tr
  1253.   .ie n \{\
  1254.   .ds -- \(bs-
  1255.  
  1256. --- 29,39 -----
  1257.   .el .ne 3
  1258.   .IP "\\$1" \\$2
  1259.   ..
  1260. ! .\"
  1261. ! .\"     Set up \*(-- to give an unbreakable dash;
  1262. ! .\"     string Tr holds user defined translation string.
  1263. ! .\"     Bell System Logo is used as a dummy character.
  1264. ! .\"
  1265.   .tr \(bs-|\(bv\*(Tr
  1266.   .ie n \{\
  1267.   .ds -- \(bs-
  1268. Index: rn.c
  1269. Prereq: 4.4
  1270. *** rn.c    Tue Oct  1 23:39:04 1991
  1271. --- ../rn4.4.1/rn.c    Wed Sep 25 14:38:45 1991
  1272. ***************
  1273. *** 24,31
  1274.    * is at the user's own risk. 
  1275.    */
  1276.   
  1277. ! static char rnid[] = "@(#)$Id: rn.c,v 4.4 1991/09/09 20:27:37 sob Exp sob $";
  1278. ! static char patchlevel[] = "Pathlevel 0";
  1279.   
  1280.   /* $Log: rn.c,v $
  1281.    * Revision 4.4  1991/09/09  20:27:37  sob
  1282.  
  1283. --- 24,31 -----
  1284.    * is at the user's own risk. 
  1285.    */
  1286.   
  1287. ! static char rnid[] = "@(#)$Id: rn.c,v 4.4.1.1 1991/09/25 19:38:08 sob Exp sob $";
  1288. ! static char patchlevel[] = "Patchlevel 1";
  1289.   
  1290.   /* $Log: rn.c,v $
  1291.    * Revision 4.4.1.1  1991/09/25  19:38:08  sob
  1292. ***************
  1293. *** 28,33
  1294.   static char patchlevel[] = "Pathlevel 0";
  1295.   
  1296.   /* $Log: rn.c,v $
  1297.    * Revision 4.4  1991/09/09  20:27:37  sob
  1298.    * release 4.4
  1299.    *
  1300.  
  1301. --- 28,36 -----
  1302.   static char patchlevel[] = "Patchlevel 1";
  1303.   
  1304.   /* $Log: rn.c,v $
  1305. +  * Revision 4.4.1.1  1991/09/25  19:38:08  sob
  1306. +  * Updated patchlevel message
  1307. +  *
  1308.    * Revision 4.4  1991/09/09  20:27:37  sob
  1309.    * release 4.4
  1310.    *
  1311.